† Corresponding author. E-mail:
Community detection in signed networks has been studied widely in recent years. In this paper, a discrete difference equation is proposed to imitate the consistently changing phases of the nodes. During the interaction, each node will update its phase based on the difference equation. Each node has many different nodes connected with it, and these neighbors have different influences on it. The similarity between two nodes is applied to describe the influences between them. Nodes with high positive similarities will get together and nodes with negative similarities will be far away from each other. Communities are detected ultimately when the phases of the nodes are stable. Experiments on real world and synthetic signed networks show the efficiency of detection performance. Moreover, the presented method gains better detection performance than two existing good algorithms.
Community detection of complex networks has been a hot topic in the network study.[1] Many social, recommendation, and information systems can be naturally described as networks, where vertices represent entities and links denote relationships or interactions between the vertices.[2] The topological structure of many networks often features an organization of communities in which the nodes tend to divide into clusters, with dense connections within clusters and sparser connections between them.[3] There are many relationships between individuals in the real world, especially in social networks. Commonly, the social relationships between individuals have positive relationships and negative relationships.[4] It will be regarded as a positive link when two individuals have a friendly relationship, however, it will be regarded as a negative link when two individuals have a hostile relationship. Such networks are called signed networks.[5] The relationships between individuals also have different levels, the similarity can be defined by using the essential attributes of nodes: two nodes are considered to be similar if they have many common features.[6]
There are many algorithms proposed for community detections, such as KerNighanLin algorithm,[7] spectral bisection method,[8] Girvan–Newman algorithm,[9,10] etc. An agent-based heuristic algorithm (FEC) has been adopted to mine signed social networks in which both positive within-group relationships and negative between-group relationships are dense.[11] Two overlapping community detection algorithms have been introduced, one is the signed probabilistic mixture (SPM) model for overlapping community detection in signed networks,[12] and the other is the dominant label propagation algorithm (DLPA).[13] Dynamic algorithms or cluster synchronization[14] have been proposed in many papers. A dynamic community detection algorithm based on the phase synchronization of Kuramoto oscillators has been proposed.[15] It has put in negative coupling strength coefficients in order to make the phases of two unconnected oscillators in the network evolve far away, so the network can be divided into several clusters. Besides, several improved Kuramoto models have been introduced in Refs. [16]–[19]. Also, reference [20] studied the oscillatory behaviors of excitable complex networks (ECNs) and found some interesting dynamic behaviors of ECNs in oscillatory probability. The above mentioned work bridges the gap between the structure and the dynamics of networks. What is more, several algorithms based on the statistical measures for characterizing the degree correlation,[21] Potts spin model,[22,23] self-loop rescaling strategy,[24] local modularity,[25] and joint matrix factorization[26] also played an effective role in detecting communities. There are some optimization algorithms applied in community discovery, such as single objective optimization algorithm,[27] multi objective optimization algorithm,[28] etc.
In this paper, the discrete-time model is applied to solve the community detection problem of a signed network. Furthermore, a novel similarity is put forward to imitate the relationship between two nodes. The remainder of the paper is organized as follows. In section
In this paper, the signed network
![]() | (1) |
In general, all the non-observed links are ranked according to their scores, the links connecting more similar nodes are supposed to be of higher existence likelihoods.[30] In this situation, many local similarity measures in networks are closely related to the concept of community structures.[31] We have found that the similarity between nodes should be considered. Dynamic mechanism with similarity would gain better detection performance than the model without similarity.[32]
In Ref. [33], a novel similarity measurement was defined according to the social balance theory[34–36] for the signed network. Due to their different similarities, inner-community positive links were found and detected. A threshold has been given to decide a node's positive neighbors who have high similarity in magnitude with this node. However the algorithm in Ref. [33] has difficulty in detecting the community structure for the following two kinds of networks. (i) The total number of communities is large. (ii) The sizes of different communities are not balanced. To further improve the detection precision, we give the following similarity definition and network model.
In many applications, there are some nodes without direct connection but they still have similarities.[37] To handle this problem, a kind of similarity between two nodes is defined as
![]() | (2) |
![]() |
In this paper, we consider the influences from both positive neighbors and negative neighbors. The similarity evaluation formula just takes the first two terms to reduce the computational cost, that is to say, only one-hop and two-hop paths have been considered. For the one-hop path, consider nodes i, j, k, here node k is the common neighbor of nodes i and j. If nodes i and j have node k as their common positive neighbor (shown in Fig.
![]() | (3) |
| Fig. 1. (color online) Connections between one-hop path nodes. See text for the detailed description of panels (a)–(d). |
However, if the k-th node is a positive neighbor of the i-th node and a negative neighbor of the j-th node (shown in Fig.
![]() | (4) |
![]() | (5) |
![]() | (6) |
![]() | (7) |
![]() | (8) |
![]() | (9) |
![]() |
![]() |
![]() | (10) |
To simplify network model Eq. (
![]() |
![]() |
![]() |
The network model is uniformly stable if the following matrix is negative semi-definite:
provided with suitable 
(11)
The identical transformation of Eq. (
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The above theoretical analyses show that our proposed network model would be uniformly stable. With time evolving, the community structure would be formed according to the stable results.
Denote
![]() |
![]() |
![]() |
The stable condition can be satisfied as
The discrete-time based model for community detection in signed network (denoted as DTCDS) is further described in detail.
For a signed network, the connections should be positive and dense inside communities, and the connections should be negative and sparse between communities.[33] During the iteration of Eq. (

![]() |
![]() |
![]() |
In this section, the proposed algorithm DTCDS is applied to both real world signed networks and synthetic signed networks. All the algorithms are coded in Matlab 2013a, the experiments have been executed on Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80 GHz, with 64 GB memory. The operating system is Windows Server 2008 R2 Enterprise.
The following real world signed networks are used to test the algorithm DTCDS.
In Ref. [39], it was shown that the USC network was partitioned into three communities or two communities. The topology structure is shown in Fig.
In this part, two kinds of synthetic networks are applied to test the efficiency of the DTCDS algorithm.
![]() |
In this paper, the normalized mutual information (NMI) is adopted to evaluate the efficiency of the proposed algorithm when the ground truth of the network is known.[42] Two existing algorithms based on the dynamic mechanism are applied to compare with the proposed algorithm. One is the dynamic evolutionary clustering algorithm for signed networks (DEC),[33] and the other is the dynamic-based algorithm for signed social networks (DBAS).[29] They are algorithms recently proposed for signed networks and gain good performances. The two algorithms are efficient and can run on large-scale signed networks. For the above three synthetic signed networks, different values of p and q are given as
Fig. 10. (color online) Comparing between DTCDS and existing algorithms: (a)
|
From Fig.
In addition, we compare the running time of these algorithms, as shown in Table
| Table 1.
Comparing running time (in units of s) among DTCDS, DEC, and DBAS for |
In this section, the simulations are performed for the synthetic signed networks with a large number of nodes and abundant communities, which increase the difficulty on community detection, even though the DTCDS algorithm can obtain a higher NMI. For instance, as shown in Fig.
In this paper, a discrete-time-model-based method is designed for signed networks community detection. The similarity between nodes is used to make aggregation speed and separating rate quicker. The positive similarity makes two nodes evolve together easier, and the negative similarity makes two nodes evolve far away. Community structure can be discovered as the phases are stable based on the dynamic mechanism of the proposed network model. This algorithm is appropriate not only for the small-scale signed networks but also for large-scale signed networks. Moreover, this algorithm can also be applied to the networks with more communities, and it has better accuracy and runs faster than the compared algorithms. The accuracy of this algorithm is closely related to the similarity of the nodes, new similarity can be found to improve the accuracy, which needs further research.
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 |

































